package com.foreknow.service;

import com.foreknow.entity.User;
import io.swagger.models.auth.In;

import java.util.List;

public interface UserService {


    public User queryByPassword(User user) throws Exception;

    public User queryByUserid(Integer userId) throws Exception;

    public List<User> queryUserbyDeptAndRegistle(Integer deptId, Integer registleId, Integer pageSize, Integer currentPage) throws Exception;

    public int countOfDeptAndRegistle(Integer deptId, Integer registleId) throws Exception;

}
